package com.ano.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.Date;

@Data
@AllArgsConstructor
@NoArgsConstructor
@Accessors(chain = true)
public class User {

    private String id;
    private String stuid;
    private String username;
    private String password;
    /**
     * 存储user生日信息
     */
    private Date birth;
    private String realname;
    private String sex;
    /**
     * 存储user学院信息
     */
    private String institute;
    /**
     * 存储注册时间
     */
    private Date loguptime;
    /**
     * 头像存放地址
     */
    private String userimg;

}
